<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<div class="warning-content">
  <div class="tips">
    <p>{{ 'system_delete_ha_tip1_label' | i18n }}</p>
    <p>{{ 'system_delete_ha_tip2_label' | i18n }}</p>
    <p *ngIf="isShow">{{ 'system_delete_ha_tip3_label' | i18n }}</p>
  </div>
  <div class="haContent">
    <p>{{ 'system_delete_info_label' | i18n }}</p>
    <lv-group>
      <lv-form>
        <lv-form-item>
          <lv-form-label>
            {{ 'common_name_label' | i18n }}
          </lv-form-label>
          <lv-form-control>{{ drawData.name }}</lv-form-control>
        </lv-form-item>
        <lv-form-item>
          <lv-form-label>{{
            'system_network_plane_ip1_label' | i18n
          }}</lv-form-label>
          <lv-form-control>{{ drawData?.gaussIp }}</lv-form-control>
        </lv-form-item>
        <lv-form-item>
          <lv-form-label>{{
            'system_network_plane_ip2_label' | i18n
          }}</lv-form-label>
          <lv-form-control>{{ drawData?.infraIp }}</lv-form-control>
        </lv-form-item>
        <lv-form-item>
          <lv-form-label>{{ 'common_status_label' | i18n }}</lv-form-label>
          <lv-form-control>
            <aui-status
              [value]="drawData.status"
              type="Cluster_Status"
            ></aui-status>
          </lv-form-control>
        </lv-form-item>
      </lv-form>
    </lv-group>
  </div>
</div>
